package com.yule.flow.home;

import com.yule.flow.dao.FlowMessageDao;
import com.yule.flow.model.FlowMessage;
import com.yule.flow.model.FlowMessageExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FlowMessageHome {

    @Autowired
    private FlowMessageDao flowMessageDao;

    public List<FlowMessage> findList(FlowMessageExample flowMessageExample){
        return flowMessageDao.selectByExample(flowMessageExample);
    }
}
